3.474 \(\int \frac{\text{csch}^2(c+d x) \text{sech}^3(c+d x)}{a+b \sinh (c+d x)} \, dx\)

Optimal. Leaf size=180 \[ \frac{b^5 \log (a+b \sinh (c+d x))}{a^2 d \left (a^2+b^2\right )^2}-\frac{a \left (a^2+2 b^2\right ) \tan ^{-1}(\sinh (c+d x))}{d \left (a^2+b^2\right )^2}-\frac{a \tan ^{-1}(\sinh (c+d x))}{2 d \left (a^2+b^2\right )}+\frac{b \left (a^2+2 b^2\right ) \log (\cosh (c+d x))}{d \left (a^2+b^2\right )^2}-\frac{\text{sech}^2(c+d x) (a \sinh (c+d x)+b)}{2 d \left (a^2+b^2\right )}-\frac{b \log (\sinh (c+d x))}{a^2 d}-\frac{\text{csch}(c+d x)}{a d} \]

[Out]

-(a*ArcTan[Sinh[c + d*x]])/(2*(a^2 + b^2)*d) - (a*(a^2 + 2*b^2)*ArcTan[Sinh[c + d*x]])/((a^2 + b^2)^2*d) - Csc
h[c + d*x]/(a*d) + (b*(a^2 + 2*b^2)*Log[Cosh[c + d*x]])/((a^2 + b^2)^2*d) - (b*Log[Sinh[c + d*x]])/(a^2*d) + (
b^5*Log[a + b*Sinh[c + d*x]])/(a^2*(a^2 + b^2)^2*d) - (Sech[c + d*x]^2*(b + a*Sinh[c + d*x]))/(2*(a^2 + b^2)*d
)

________________________________________________________________________________________

Rubi [A]  time = 0.259158, antiderivative size = 180, normalized size of antiderivative = 1., number of steps used = 9, number of rules used = 7, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.241, Rules used = {2837, 12, 894, 639, 203, 635, 260} \[ \frac{b^5 \log (a+b \sinh (c+d x))}{a^2 d \left (a^2+b^2\right )^2}-\frac{a \left (a^2+2 b^2\right ) \tan ^{-1}(\sinh (c+d x))}{d \left (a^2+b^2\right )^2}-\frac{a \tan ^{-1}(\sinh (c+d x))}{2 d \left (a^2+b^2\right )}+\frac{b \left (a^2+2 b^2\right ) \log (\cosh (c+d x))}{d \left (a^2+b^2\right )^2}-\frac{\text{sech}^2(c+d x) (a \sinh (c+d x)+b)}{2 d \left (a^2+b^2\right )}-\frac{b \log (\sinh (c+d x))}{a^2 d}-\frac{\text{csch}(c+d x)}{a d} \]

Antiderivative was successfully verified.

[In]

Int[(Csch[c + d*x]^2*Sech[c + d*x]^3)/(a + b*Sinh[c + d*x]),x]

[Out]

-(a*ArcTan[Sinh[c + d*x]])/(2*(a^2 + b^2)*d) - (a*(a^2 + 2*b^2)*ArcTan[Sinh[c + d*x]])/((a^2 + b^2)^2*d) - Csc
h[c + d*x]/(a*d) + (b*(a^2 + 2*b^2)*Log[Cosh[c + d*x]])/((a^2 + b^2)^2*d) - (b*Log[Sinh[c + d*x]])/(a^2*d) + (
b^5*Log[a + b*Sinh[c + d*x]])/(a^2*(a^2 + b^2)^2*d) - (Sech[c + d*x]^2*(b + a*Sinh[c + d*x]))/(2*(a^2 + b^2)*d
)

Rule 2837

Int[cos[(e_.) + (f_.)*(x_)]^(p_)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_.)*((c_.) + (d_.)*sin[(e_.) + (f_.)
*(x_)])^(n_.), x_Symbol] :> Dist[1/(b^p*f), Subst[Int[(a + x)^m*(c + (d*x)/b)^n*(b^2 - x^2)^((p - 1)/2), x], x
, b*Sin[e + f*x]], x] /; FreeQ[{a, b, c, d, e, f, m, n}, x] && IntegerQ[(p - 1)/2] && NeQ[a^2 - b^2, 0]

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 894

Int[((d_.) + (e_.)*(x_))^(m_)*((f_.) + (g_.)*(x_))^(n_)*((a_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Int[ExpandIn
tegrand[(d + e*x)^m*(f + g*x)^n*(a + c*x^2)^p, x], x] /; FreeQ[{a, c, d, e, f, g}, x] && NeQ[e*f - d*g, 0] &&
NeQ[c*d^2 + a*e^2, 0] && IntegerQ[p] && ((EqQ[p, 1] && IntegersQ[m, n]) || (ILtQ[m, 0] && ILtQ[n, 0]))

Rule 639

Int[((d_) + (e_.)*(x_))*((a_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> Simp[((a*e - c*d*x)*(a + c*x^2)^(p + 1))/(2*a
*c*(p + 1)), x] + Dist[(d*(2*p + 3))/(2*a*(p + 1)), Int[(a + c*x^2)^(p + 1), x], x] /; FreeQ[{a, c, d, e}, x]
&& LtQ[p, -1] && NeQ[p, -3/2]

Rule 203

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTan[(Rt[b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[b, 2]), x] /;
 FreeQ[{a, b}, x] && PosQ[a/b] && (GtQ[a, 0] || GtQ[b, 0])

Rule 635

Int[((d_) + (e_.)*(x_))/((a_) + (c_.)*(x_)^2), x_Symbol] :> Dist[d, Int[1/(a + c*x^2), x], x] + Dist[e, Int[x/
(a + c*x^2), x], x] /; FreeQ[{a, c, d, e}, x] &&  !NiceSqrtQ[-(a*c)]

Rule 260

Int[(x_)^(m_.)/((a_) + (b_.)*(x_)^(n_)), x_Symbol] :> Simp[Log[RemoveContent[a + b*x^n, x]]/(b*n), x] /; FreeQ
[{a, b, m, n}, x] && EqQ[m, n - 1]

Rubi steps

\begin{align*} \int \frac{\text{csch}^2(c+d x) \text{sech}^3(c+d x)}{a+b \sinh (c+d x)} \, dx &=\frac{b^3 \operatorname{Subst}\left (\int \frac{b^2}{x^2 (a+x) \left (-b^2-x^2\right )^2} \, dx,x,b \sinh (c+d x)\right )}{d}\\ &=\frac{b^5 \operatorname{Subst}\left (\int \frac{1}{x^2 (a+x) \left (-b^2-x^2\right )^2} \, dx,x,b \sinh (c+d x)\right )}{d}\\ &=\frac{b^5 \operatorname{Subst}\left (\int \left (\frac{1}{a b^4 x^2}-\frac{1}{a^2 b^4 x}+\frac{1}{a^2 \left (a^2+b^2\right )^2 (a+x)}+\frac{-a+x}{b^2 \left (a^2+b^2\right ) \left (b^2+x^2\right )^2}-\frac{\left (a^2+2 b^2\right ) (a-x)}{b^4 \left (a^2+b^2\right )^2 \left (b^2+x^2\right )}\right ) \, dx,x,b \sinh (c+d x)\right )}{d}\\ &=-\frac{\text{csch}(c+d x)}{a d}-\frac{b \log (\sinh (c+d x))}{a^2 d}+\frac{b^5 \log (a+b \sinh (c+d x))}{a^2 \left (a^2+b^2\right )^2 d}+\frac{b^3 \operatorname{Subst}\left (\int \frac{-a+x}{\left (b^2+x^2\right )^2} \, dx,x,b \sinh (c+d x)\right )}{\left (a^2+b^2\right ) d}-\frac{\left (b \left (a^2+2 b^2\right )\right ) \operatorname{Subst}\left (\int \frac{a-x}{b^2+x^2} \, dx,x,b \sinh (c+d x)\right )}{\left (a^2+b^2\right )^2 d}\\ &=-\frac{\text{csch}(c+d x)}{a d}-\frac{b \log (\sinh (c+d x))}{a^2 d}+\frac{b^5 \log (a+b \sinh (c+d x))}{a^2 \left (a^2+b^2\right )^2 d}-\frac{\text{sech}^2(c+d x) (b+a \sinh (c+d x))}{2 \left (a^2+b^2\right ) d}-\frac{(a b) \operatorname{Subst}\left (\int \frac{1}{b^2+x^2} \, dx,x,b \sinh (c+d x)\right )}{2 \left (a^2+b^2\right ) d}+\frac{\left (b \left (a^2+2 b^2\right )\right ) \operatorname{Subst}\left (\int \frac{x}{b^2+x^2} \, dx,x,b \sinh (c+d x)\right )}{\left (a^2+b^2\right )^2 d}-\frac{\left (a b \left (a^2+2 b^2\right )\right ) \operatorname{Subst}\left (\int \frac{1}{b^2+x^2} \, dx,x,b \sinh (c+d x)\right )}{\left (a^2+b^2\right )^2 d}\\ &=-\frac{a \tan ^{-1}(\sinh (c+d x))}{2 \left (a^2+b^2\right ) d}-\frac{a \left (a^2+2 b^2\right ) \tan ^{-1}(\sinh (c+d x))}{\left (a^2+b^2\right )^2 d}-\frac{\text{csch}(c+d x)}{a d}+\frac{b \left (a^2+2 b^2\right ) \log (\cosh (c+d x))}{\left (a^2+b^2\right )^2 d}-\frac{b \log (\sinh (c+d x))}{a^2 d}+\frac{b^5 \log (a+b \sinh (c+d x))}{a^2 \left (a^2+b^2\right )^2 d}-\frac{\text{sech}^2(c+d x) (b+a \sinh (c+d x))}{2 \left (a^2+b^2\right ) d}\\ \end{align*}

Mathematica [C]  time = 0.93015, size = 227, normalized size = 1.26 \[ -\frac{\text{csch}(c+d x) (a+b \sinh (c+d x)) \left (\frac{b \text{sech}^2(c+d x)}{a^2+b^2}-\frac{2 b^5 \log (a+b \sinh (c+d x))}{a^2 \left (a^2+b^2\right )^2}-\frac{(b+i a) \left (a^2+2 b^2\right ) \log (-\sinh (c+d x)+i)}{\left (a^2+b^2\right )^2}+\frac{(-b+i a) \left (a^2+2 b^2\right ) \log (\sinh (c+d x)+i)}{\left (a^2+b^2\right )^2}+\frac{a \tan ^{-1}(\sinh (c+d x))}{a^2+b^2}+\frac{a \tanh (c+d x) \text{sech}(c+d x)}{a^2+b^2}+\frac{2 b \log (\sinh (c+d x))}{a^2}+\frac{2 \text{csch}(c+d x)}{a}\right )}{2 d (a \text{csch}(c+d x)+b)} \]

Antiderivative was successfully verified.

[In]

Integrate[(Csch[c + d*x]^2*Sech[c + d*x]^3)/(a + b*Sinh[c + d*x]),x]

[Out]

-(Csch[c + d*x]*(a + b*Sinh[c + d*x])*((a*ArcTan[Sinh[c + d*x]])/(a^2 + b^2) + (2*Csch[c + d*x])/a - ((I*a + b
)*(a^2 + 2*b^2)*Log[I - Sinh[c + d*x]])/(a^2 + b^2)^2 + (2*b*Log[Sinh[c + d*x]])/a^2 + ((I*a - b)*(a^2 + 2*b^2
)*Log[I + Sinh[c + d*x]])/(a^2 + b^2)^2 - (2*b^5*Log[a + b*Sinh[c + d*x]])/(a^2*(a^2 + b^2)^2) + (b*Sech[c + d
*x]^2)/(a^2 + b^2) + (a*Sech[c + d*x]*Tanh[c + d*x])/(a^2 + b^2)))/(2*d*(b + a*Csch[c + d*x]))

________________________________________________________________________________________

Maple [B]  time = 0.004, size = 478, normalized size = 2.7 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(csch(d*x+c)^2*sech(d*x+c)^3/(a+b*sinh(d*x+c)),x)

[Out]

1/2/d/a*tanh(1/2*d*x+1/2*c)-1/2/d/a/tanh(1/2*d*x+1/2*c)-1/d/a^2*b*ln(tanh(1/2*d*x+1/2*c))+1/d*b^5/(a^2+b^2)^2/
a^2*ln(tanh(1/2*d*x+1/2*c)^2*a-2*tanh(1/2*d*x+1/2*c)*b-a)+1/d/(a^2+b^2)^2/(tanh(1/2*d*x+1/2*c)^2+1)^2*tanh(1/2
*d*x+1/2*c)^3*a^3+1/d/(a^2+b^2)^2/(tanh(1/2*d*x+1/2*c)^2+1)^2*tanh(1/2*d*x+1/2*c)^3*a*b^2+2/d/(a^2+b^2)^2/(tan
h(1/2*d*x+1/2*c)^2+1)^2*tanh(1/2*d*x+1/2*c)^2*a^2*b+2/d/(a^2+b^2)^2/(tanh(1/2*d*x+1/2*c)^2+1)^2*tanh(1/2*d*x+1
/2*c)^2*b^3-1/d/(a^2+b^2)^2/(tanh(1/2*d*x+1/2*c)^2+1)^2*tanh(1/2*d*x+1/2*c)*a^3-1/d/(a^2+b^2)^2/(tanh(1/2*d*x+
1/2*c)^2+1)^2*tanh(1/2*d*x+1/2*c)*a*b^2+1/d/(a^2+b^2)^2*ln(tanh(1/2*d*x+1/2*c)^2+1)*a^2*b+2/d/(a^2+b^2)^2*ln(t
anh(1/2*d*x+1/2*c)^2+1)*b^3-3/d/(a^2+b^2)^2*arctan(tanh(1/2*d*x+1/2*c))*a^3-5/d/(a^2+b^2)^2*arctan(tanh(1/2*d*
x+1/2*c))*a*b^2

________________________________________________________________________________________

Maxima [A]  time = 1.88528, size = 473, normalized size = 2.63 \begin{align*} \frac{b^{5} \log \left (-2 \, a e^{\left (-d x - c\right )} + b e^{\left (-2 \, d x - 2 \, c\right )} - b\right )}{{\left (a^{6} + 2 \, a^{4} b^{2} + a^{2} b^{4}\right )} d} + \frac{{\left (3 \, a^{3} + 5 \, a b^{2}\right )} \arctan \left (e^{\left (-d x - c\right )}\right )}{{\left (a^{4} + 2 \, a^{2} b^{2} + b^{4}\right )} d} + \frac{{\left (a^{2} b + 2 \, b^{3}\right )} \log \left (e^{\left (-2 \, d x - 2 \, c\right )} + 1\right )}{{\left (a^{4} + 2 \, a^{2} b^{2} + b^{4}\right )} d} - \frac{2 \, a b e^{\left (-2 \, d x - 2 \, c\right )} - 2 \, a b e^{\left (-4 \, d x - 4 \, c\right )} +{\left (3 \, a^{2} + 2 \, b^{2}\right )} e^{\left (-d x - c\right )} + 2 \,{\left (a^{2} + 2 \, b^{2}\right )} e^{\left (-3 \, d x - 3 \, c\right )} +{\left (3 \, a^{2} + 2 \, b^{2}\right )} e^{\left (-5 \, d x - 5 \, c\right )}}{{\left (a^{3} + a b^{2} +{\left (a^{3} + a b^{2}\right )} e^{\left (-2 \, d x - 2 \, c\right )} -{\left (a^{3} + a b^{2}\right )} e^{\left (-4 \, d x - 4 \, c\right )} -{\left (a^{3} + a b^{2}\right )} e^{\left (-6 \, d x - 6 \, c\right )}\right )} d} - \frac{b \log \left (e^{\left (-d x - c\right )} + 1\right )}{a^{2} d} - \frac{b \log \left (e^{\left (-d x - c\right )} - 1\right )}{a^{2} d} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csch(d*x+c)^2*sech(d*x+c)^3/(a+b*sinh(d*x+c)),x, algorithm="maxima")

[Out]

b^5*log(-2*a*e^(-d*x - c) + b*e^(-2*d*x - 2*c) - b)/((a^6 + 2*a^4*b^2 + a^2*b^4)*d) + (3*a^3 + 5*a*b^2)*arctan
(e^(-d*x - c))/((a^4 + 2*a^2*b^2 + b^4)*d) + (a^2*b + 2*b^3)*log(e^(-2*d*x - 2*c) + 1)/((a^4 + 2*a^2*b^2 + b^4
)*d) - (2*a*b*e^(-2*d*x - 2*c) - 2*a*b*e^(-4*d*x - 4*c) + (3*a^2 + 2*b^2)*e^(-d*x - c) + 2*(a^2 + 2*b^2)*e^(-3
*d*x - 3*c) + (3*a^2 + 2*b^2)*e^(-5*d*x - 5*c))/((a^3 + a*b^2 + (a^3 + a*b^2)*e^(-2*d*x - 2*c) - (a^3 + a*b^2)
*e^(-4*d*x - 4*c) - (a^3 + a*b^2)*e^(-6*d*x - 6*c))*d) - b*log(e^(-d*x - c) + 1)/(a^2*d) - b*log(e^(-d*x - c)
- 1)/(a^2*d)

________________________________________________________________________________________

Fricas [B]  time = 4.70562, size = 5906, normalized size = 32.81 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csch(d*x+c)^2*sech(d*x+c)^3/(a+b*sinh(d*x+c)),x, algorithm="fricas")

[Out]

-((3*a^5 + 5*a^3*b^2 + 2*a*b^4)*cosh(d*x + c)^5 + (3*a^5 + 5*a^3*b^2 + 2*a*b^4)*sinh(d*x + c)^5 + 2*(a^4*b + a
^2*b^3)*cosh(d*x + c)^4 + (2*a^4*b + 2*a^2*b^3 + 5*(3*a^5 + 5*a^3*b^2 + 2*a*b^4)*cosh(d*x + c))*sinh(d*x + c)^
4 + 2*(a^5 + 3*a^3*b^2 + 2*a*b^4)*cosh(d*x + c)^3 + 2*(a^5 + 3*a^3*b^2 + 2*a*b^4 + 5*(3*a^5 + 5*a^3*b^2 + 2*a*
b^4)*cosh(d*x + c)^2 + 4*(a^4*b + a^2*b^3)*cosh(d*x + c))*sinh(d*x + c)^3 - 2*(a^4*b + a^2*b^3)*cosh(d*x + c)^
2 - 2*(a^4*b + a^2*b^3 - 5*(3*a^5 + 5*a^3*b^2 + 2*a*b^4)*cosh(d*x + c)^3 - 6*(a^4*b + a^2*b^3)*cosh(d*x + c)^2
 - 3*(a^5 + 3*a^3*b^2 + 2*a*b^4)*cosh(d*x + c))*sinh(d*x + c)^2 + ((3*a^5 + 5*a^3*b^2)*cosh(d*x + c)^6 + 6*(3*
a^5 + 5*a^3*b^2)*cosh(d*x + c)*sinh(d*x + c)^5 + (3*a^5 + 5*a^3*b^2)*sinh(d*x + c)^6 - 3*a^5 - 5*a^3*b^2 + (3*
a^5 + 5*a^3*b^2)*cosh(d*x + c)^4 + (3*a^5 + 5*a^3*b^2 + 15*(3*a^5 + 5*a^3*b^2)*cosh(d*x + c)^2)*sinh(d*x + c)^
4 + 4*(5*(3*a^5 + 5*a^3*b^2)*cosh(d*x + c)^3 + (3*a^5 + 5*a^3*b^2)*cosh(d*x + c))*sinh(d*x + c)^3 - (3*a^5 + 5
*a^3*b^2)*cosh(d*x + c)^2 - (3*a^5 + 5*a^3*b^2 - 15*(3*a^5 + 5*a^3*b^2)*cosh(d*x + c)^4 - 6*(3*a^5 + 5*a^3*b^2
)*cosh(d*x + c)^2)*sinh(d*x + c)^2 + 2*(3*(3*a^5 + 5*a^3*b^2)*cosh(d*x + c)^5 + 2*(3*a^5 + 5*a^3*b^2)*cosh(d*x
 + c)^3 - (3*a^5 + 5*a^3*b^2)*cosh(d*x + c))*sinh(d*x + c))*arctan(cosh(d*x + c) + sinh(d*x + c)) + (3*a^5 + 5
*a^3*b^2 + 2*a*b^4)*cosh(d*x + c) - (b^5*cosh(d*x + c)^6 + 6*b^5*cosh(d*x + c)*sinh(d*x + c)^5 + b^5*sinh(d*x
+ c)^6 + b^5*cosh(d*x + c)^4 - b^5*cosh(d*x + c)^2 - b^5 + (15*b^5*cosh(d*x + c)^2 + b^5)*sinh(d*x + c)^4 + 4*
(5*b^5*cosh(d*x + c)^3 + b^5*cosh(d*x + c))*sinh(d*x + c)^3 + (15*b^5*cosh(d*x + c)^4 + 6*b^5*cosh(d*x + c)^2
- b^5)*sinh(d*x + c)^2 + 2*(3*b^5*cosh(d*x + c)^5 + 2*b^5*cosh(d*x + c)^3 - b^5*cosh(d*x + c))*sinh(d*x + c))*
log(2*(b*sinh(d*x + c) + a)/(cosh(d*x + c) - sinh(d*x + c))) - ((a^4*b + 2*a^2*b^3)*cosh(d*x + c)^6 + 6*(a^4*b
 + 2*a^2*b^3)*cosh(d*x + c)*sinh(d*x + c)^5 + (a^4*b + 2*a^2*b^3)*sinh(d*x + c)^6 - a^4*b - 2*a^2*b^3 + (a^4*b
 + 2*a^2*b^3)*cosh(d*x + c)^4 + (a^4*b + 2*a^2*b^3 + 15*(a^4*b + 2*a^2*b^3)*cosh(d*x + c)^2)*sinh(d*x + c)^4 +
 4*(5*(a^4*b + 2*a^2*b^3)*cosh(d*x + c)^3 + (a^4*b + 2*a^2*b^3)*cosh(d*x + c))*sinh(d*x + c)^3 - (a^4*b + 2*a^
2*b^3)*cosh(d*x + c)^2 - (a^4*b + 2*a^2*b^3 - 15*(a^4*b + 2*a^2*b^3)*cosh(d*x + c)^4 - 6*(a^4*b + 2*a^2*b^3)*c
osh(d*x + c)^2)*sinh(d*x + c)^2 + 2*(3*(a^4*b + 2*a^2*b^3)*cosh(d*x + c)^5 + 2*(a^4*b + 2*a^2*b^3)*cosh(d*x +
c)^3 - (a^4*b + 2*a^2*b^3)*cosh(d*x + c))*sinh(d*x + c))*log(2*cosh(d*x + c)/(cosh(d*x + c) - sinh(d*x + c)))
+ ((a^4*b + 2*a^2*b^3 + b^5)*cosh(d*x + c)^6 + 6*(a^4*b + 2*a^2*b^3 + b^5)*cosh(d*x + c)*sinh(d*x + c)^5 + (a^
4*b + 2*a^2*b^3 + b^5)*sinh(d*x + c)^6 - a^4*b - 2*a^2*b^3 - b^5 + (a^4*b + 2*a^2*b^3 + b^5)*cosh(d*x + c)^4 +
 (a^4*b + 2*a^2*b^3 + b^5 + 15*(a^4*b + 2*a^2*b^3 + b^5)*cosh(d*x + c)^2)*sinh(d*x + c)^4 + 4*(5*(a^4*b + 2*a^
2*b^3 + b^5)*cosh(d*x + c)^3 + (a^4*b + 2*a^2*b^3 + b^5)*cosh(d*x + c))*sinh(d*x + c)^3 - (a^4*b + 2*a^2*b^3 +
 b^5)*cosh(d*x + c)^2 - (a^4*b + 2*a^2*b^3 + b^5 - 15*(a^4*b + 2*a^2*b^3 + b^5)*cosh(d*x + c)^4 - 6*(a^4*b + 2
*a^2*b^3 + b^5)*cosh(d*x + c)^2)*sinh(d*x + c)^2 + 2*(3*(a^4*b + 2*a^2*b^3 + b^5)*cosh(d*x + c)^5 + 2*(a^4*b +
 2*a^2*b^3 + b^5)*cosh(d*x + c)^3 - (a^4*b + 2*a^2*b^3 + b^5)*cosh(d*x + c))*sinh(d*x + c))*log(2*sinh(d*x + c
)/(cosh(d*x + c) - sinh(d*x + c))) + (3*a^5 + 5*a^3*b^2 + 2*a*b^4 + 5*(3*a^5 + 5*a^3*b^2 + 2*a*b^4)*cosh(d*x +
 c)^4 + 8*(a^4*b + a^2*b^3)*cosh(d*x + c)^3 + 6*(a^5 + 3*a^3*b^2 + 2*a*b^4)*cosh(d*x + c)^2 - 4*(a^4*b + a^2*b
^3)*cosh(d*x + c))*sinh(d*x + c))/((a^6 + 2*a^4*b^2 + a^2*b^4)*d*cosh(d*x + c)^6 + 6*(a^6 + 2*a^4*b^2 + a^2*b^
4)*d*cosh(d*x + c)*sinh(d*x + c)^5 + (a^6 + 2*a^4*b^2 + a^2*b^4)*d*sinh(d*x + c)^6 + (a^6 + 2*a^4*b^2 + a^2*b^
4)*d*cosh(d*x + c)^4 + (15*(a^6 + 2*a^4*b^2 + a^2*b^4)*d*cosh(d*x + c)^2 + (a^6 + 2*a^4*b^2 + a^2*b^4)*d)*sinh
(d*x + c)^4 - (a^6 + 2*a^4*b^2 + a^2*b^4)*d*cosh(d*x + c)^2 + 4*(5*(a^6 + 2*a^4*b^2 + a^2*b^4)*d*cosh(d*x + c)
^3 + (a^6 + 2*a^4*b^2 + a^2*b^4)*d*cosh(d*x + c))*sinh(d*x + c)^3 + (15*(a^6 + 2*a^4*b^2 + a^2*b^4)*d*cosh(d*x
 + c)^4 + 6*(a^6 + 2*a^4*b^2 + a^2*b^4)*d*cosh(d*x + c)^2 - (a^6 + 2*a^4*b^2 + a^2*b^4)*d)*sinh(d*x + c)^2 - (
a^6 + 2*a^4*b^2 + a^2*b^4)*d + 2*(3*(a^6 + 2*a^4*b^2 + a^2*b^4)*d*cosh(d*x + c)^5 + 2*(a^6 + 2*a^4*b^2 + a^2*b
^4)*d*cosh(d*x + c)^3 - (a^6 + 2*a^4*b^2 + a^2*b^4)*d*cosh(d*x + c))*sinh(d*x + c))

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csch(d*x+c)**2*sech(d*x+c)**3/(a+b*sinh(d*x+c)),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [B]  time = 1.36711, size = 637, normalized size = 3.54 \begin{align*} \frac{b^{6} \log \left ({\left | b{\left (e^{\left (d x + c\right )} - e^{\left (-d x - c\right )}\right )} + 2 \, a \right |}\right )}{a^{6} b d + 2 \, a^{4} b^{3} d + a^{2} b^{5} d} - \frac{{\left (\pi + 2 \, \arctan \left (\frac{1}{2} \,{\left (e^{\left (2 \, d x + 2 \, c\right )} - 1\right )} e^{\left (-d x - c\right )}\right )\right )}{\left (3 \, a^{3} + 5 \, a b^{2}\right )}}{4 \,{\left (a^{4} d + 2 \, a^{2} b^{2} d + b^{4} d\right )}} + \frac{{\left (a^{2} b + 2 \, b^{3}\right )} \log \left ({\left (e^{\left (d x + c\right )} - e^{\left (-d x - c\right )}\right )}^{2} + 4\right )}{2 \,{\left (a^{4} d + 2 \, a^{2} b^{2} d + b^{4} d\right )}} + \frac{b^{5}{\left (e^{\left (d x + c\right )} - e^{\left (-d x - c\right )}\right )}^{3} - 9 \, a^{5}{\left (e^{\left (d x + c\right )} - e^{\left (-d x - c\right )}\right )}^{2} - 15 \, a^{3} b^{2}{\left (e^{\left (d x + c\right )} - e^{\left (-d x - c\right )}\right )}^{2} - 6 \, a b^{4}{\left (e^{\left (d x + c\right )} - e^{\left (-d x - c\right )}\right )}^{2} - 6 \, a^{4} b{\left (e^{\left (d x + c\right )} - e^{\left (-d x - c\right )}\right )} - 6 \, a^{2} b^{3}{\left (e^{\left (d x + c\right )} - e^{\left (-d x - c\right )}\right )} + 4 \, b^{5}{\left (e^{\left (d x + c\right )} - e^{\left (-d x - c\right )}\right )} - 24 \, a^{5} - 48 \, a^{3} b^{2} - 24 \, a b^{4}}{3 \,{\left (a^{6} d + 2 \, a^{4} b^{2} d + a^{2} b^{4} d\right )}{\left ({\left (e^{\left (d x + c\right )} - e^{\left (-d x - c\right )}\right )}^{3} + 4 \, e^{\left (d x + c\right )} - 4 \, e^{\left (-d x - c\right )}\right )}} - \frac{b \log \left ({\left | e^{\left (d x + c\right )} - e^{\left (-d x - c\right )} \right |}\right )}{a^{2} d} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csch(d*x+c)^2*sech(d*x+c)^3/(a+b*sinh(d*x+c)),x, algorithm="giac")

[Out]

b^6*log(abs(b*(e^(d*x + c) - e^(-d*x - c)) + 2*a))/(a^6*b*d + 2*a^4*b^3*d + a^2*b^5*d) - 1/4*(pi + 2*arctan(1/
2*(e^(2*d*x + 2*c) - 1)*e^(-d*x - c)))*(3*a^3 + 5*a*b^2)/(a^4*d + 2*a^2*b^2*d + b^4*d) + 1/2*(a^2*b + 2*b^3)*l
og((e^(d*x + c) - e^(-d*x - c))^2 + 4)/(a^4*d + 2*a^2*b^2*d + b^4*d) + 1/3*(b^5*(e^(d*x + c) - e^(-d*x - c))^3
 - 9*a^5*(e^(d*x + c) - e^(-d*x - c))^2 - 15*a^3*b^2*(e^(d*x + c) - e^(-d*x - c))^2 - 6*a*b^4*(e^(d*x + c) - e
^(-d*x - c))^2 - 6*a^4*b*(e^(d*x + c) - e^(-d*x - c)) - 6*a^2*b^3*(e^(d*x + c) - e^(-d*x - c)) + 4*b^5*(e^(d*x
 + c) - e^(-d*x - c)) - 24*a^5 - 48*a^3*b^2 - 24*a*b^4)/((a^6*d + 2*a^4*b^2*d + a^2*b^4*d)*((e^(d*x + c) - e^(
-d*x - c))^3 + 4*e^(d*x + c) - 4*e^(-d*x - c))) - b*log(abs(e^(d*x + c) - e^(-d*x - c)))/(a^2*d)